sgdk: sram.h Source File

sgdk

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

sram.h
Go to the documentation of this file.

    00001
    00010 #ifndef _SRAM_H_
    00011 #define _SRAM_H_
    00012
    00013
    00014 #define SRAM_CONTROL    0xA130F1
    00015 #define SRAM_BASE       0x200001
    00016
    00017
    00022 void SRAM_enable();
    00027 void SRAM_enableRO();
    00032 void SRAM_disable();
    00033
    00042 u8 SRAM_readByte(u32 offset);
    00051 u16 SRAM_readWord(u32 offset);
    00060 u32 SRAM_readLong(u32 offset);
    00070 void SRAM_writeByte(u32 offset, u8 val);
    00080 void SRAM_writeWord(u32 offset, u16 val);
    00090 void SRAM_writeLong(u32 offset, u32 val);
    00091
    00092
    00093 #endif // _SRAM_H_

All Classes Files Functions Variables Typedefs Enumerations Defines